#pragma once

#include <iostream>
#include <sys/time.h>           //  for function ->  gettimeofday(&tval, NULL);

#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>


#include "jsonTool.h"


class CheckResult{
public:
    CheckResult(){};
    ~CheckResult(){};


    static std::string detectCommandUpdatePicResponseInit();
    static Json::Value alarmBeatInit(const string ID, const string AlarmType, const int StartPosition,const int EndPosition,
                            const string AlarmLevel, const int DetailsSize, const string FileName, const string Description, 
                            const string CurrentTime, const string task_id);
    static Json::Value unalarmBeatInit(const string ID, const string InfoType, const int LocalPosition, const string CurrentTime,
                            const int DetailsSize, const string FileName, const string Description, const string task_id );
   

    // temperature camera function
    static Json::Value tempAlarmBeatInit(const string id, const string task_id);
    static Json::Value tempInfoBeatInit(const string id);
   


};




